package com.oceanstar.Pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class HealthInfo {
    private String recordId;        //每条健康记录的id(主键)
    private Integer id;             //要上传数据的老人id
    private String medicalHistory;  //病史
    private String allergyHistory;  //过敏史
    private Integer heartRate;      //心率
    private String bloodPressure;   //血压,格式"收缩压/舒张压"
    private Float bloodSugar;       //血糖(mmol/L)
    private Float weight;           //体重(kg)
    @JsonFormat(timezone = "GMT+8")
    private Date updateTime;        //记录上传时间
}
